//
// Copyright (c) 2009 All Right Reserved
//
// vl
//
// 2009-01-01
// Contains ...
using System.Text;
using System.Xml.Serialization;
namespace LargoCommon.Music
{
///
/// Harmonic Function.
///
[XmlRoot]
public sealed class HarmonicFunction {
#region Properties
///
/// Gets or sets Number.
///
/// Property description.
public byte Number { get; set; }
///
/// Gets or sets Name.
///
/// Property description.
public string Name { get; set; }
///
/// Gets or sets Structure.
///
/// Property description.
public string Structure { get; set; }
///
/// Gets or sets Order.
///
/// Property description.
public byte Order { get; set; }
#endregion
#region String representation
/// String representation - not used, so marked as static.
/// Returns value.
public override string ToString() {
var s = new StringBuilder();
s.AppendFormat("{0,15} {1,30} {2,30}", this.Number, this.Name, this.Structure);
return s.ToString();
}
#endregion
}
}